package com.agou.app.admin.dbconfig.bean;

import java.io.IOException;
import java.lang.reflect.Field;
import java.sql.ResultSet;
import java.sql.SQLException;

import com.agou.core.ss.SSException;
import com.agou.ssh.core.base.BaseTableBean;
import com.agou.ssh.core.db.field.DateField;

/**
 * 管理员-用户信息
 * @author agou
 *
 */
public class TSProject extends BaseTableBean{

	private static final long serialVersionUID = -8176099881840603005L;
	private long projectId;// 
	private String projectName;// 
	private String projectDesc;// 
	private String showTitle;// 
	private String projectUrl;// 
	private DateField createDate;//
	

	public DateField getCreateDate() {
		return createDate;
	}

	public void setCreateDate(DateField createDate) {
		this.createDate = createDate;
	}

	public long getProjectId() {
		return projectId;
	}

	public void setProjectId(long projectId) {
		this.projectId = projectId;
	}

	public String getProjectName() {
		return projectName;
	}

	public void setProjectName(String projectName) {
		this.projectName = projectName;
	}

	public String getProjectDesc() {
		return projectDesc;
	}

	public void setProjectDesc(String projectDesc) {
		this.projectDesc = projectDesc;
	}

	public String getShowTitle() {
		return showTitle;
	}

	public void setShowTitle(String showTitle) {
		this.showTitle = showTitle;
	}

	public String getProjectUrl() {
		return projectUrl;
	}

	public void setProjectUrl(String projectUrl) {
		this.projectUrl = projectUrl;
	}

	public String toString(){
		StringBuilder sbStr = new StringBuilder();
		Field[] fields=this.getClass().getDeclaredFields(); 
		for (Field field : fields) {
			try {
				sbStr.append(field.getName() + " = " + (String)field.get(this));
			} catch (Exception e) {
				sbStr.append(field.getName() + " = " + e.getMessage());
			} 
		}
		return sbStr.toString();
	}

	public void fill(ResultSet rs) throws SSException, SQLException,
			IOException {

	}

}
